package signleton;

public class HungryStaticBlock {

    private static HungryStaticBlock sington;

    private HungryStaticBlock() {
    }

    //之前 只有块用了static
     static {
           sington = new HungryStaticBlock();
     }
    public static HungryStaticBlock getBean(){
        return sington;
    }
}
